*********************************************************************
	** Define working directories
	clear all
	**Change the main global to your current working directory
	global main =  "`c(pwd)'"
	di "$main"
	global 		data    "$main/data"
	global 		dofiles "$main/dofiles"
	global 		outputs  "$main/outputs"
*********************************************************************

/**************************************************************************
*      USE THE SAME VERSION OF did_multiplegt_dyn used in the paper
**************************************************************************/
/*Note: uncomment the following line if you need to use the same version of
 the did_multiplegt_dyn as the one used in the paper, in case the version
 in stata is updated.*/

/*quietly{
do "$main\version of did_multiplegt_dyn ado used in paper\did_multiplegt_dyn.ado"
}*/

/**************************************************************************
*                     DATA STEPS AND DESING ASSESSMENT
**************************************************************************/
do "$dofiles\1_data and design processing.do"

/**************************************************************************
*          REPLICATION OF WEIGHTS ANALYSIS - SECTION  5.2
**************************************************************************/
do "$dofiles\2_LP weights analysis.do"

/**************************************************************************
*                     REPLICATION OF FIGURE 1 
*This part calls the dofile Figure 1.do to replicate the Figure 1.
**************************************************************************/
do "$dofiles\3_Figure 1.do"
